package cn.gene.timeyan.pojo.article.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@ApiModel("文章列表显示")
public class SimpleArticleVO implements Serializable {
    //作者
    @ApiModelProperty(value = "作者id")
    protected Long userId;
    @ApiModelProperty(value = "昵称")
    protected String nickName;
    @ApiModelProperty(value = "头像")
    protected String avatar;
    @ApiModelProperty(value = "介绍")
    protected String introduction;
    //文章
    @ApiModelProperty(value = "文章id")
    protected Long articleId;
    @ApiModelProperty(value = "模块id")
    protected Long moduleId;
    @ApiModelProperty(value = "标题")
    protected String title;
    @ApiModelProperty(value = "内容简略")
    protected String content;
    @ApiModelProperty(value = "点赞数")
    private Integer articleLike;
    @ApiModelProperty(value = "收藏数")
    private Integer articleCollection;
    @ApiModelProperty(value = "收藏数")
    private Integer articleVisit;
    @ApiModelProperty(value = "评论数")
    private Integer articleComment;
    @ApiModelProperty(value = "发布时间")
    protected LocalDateTime createTime;
    @ApiModelProperty(value = "结束时间")
    protected LocalDateTime endTime;
}
